<!DOCTYPE html>
<html>
<head>
  <title>{% block title %}Browser Tests{% endblock %}</title>

  <link href="{{ MEDIA_URL }}/css/style.css" rel="stylesheet" type="text/css" media="screen" />
  <link href="{{ MEDIA_URL }}/favicon.ico" rel="icon" type="image/png" />
  {% block extrahead %}{% endblock %}
</head>
<body>

<!-- start header -->
<div id="header">
    <div id="logo">
        <h1><a href="{% url site-home %}">Browser Tests</a></h1>
    </div>
    <div id="menu">
        <ul>
            <li><a href="{% url site-home %}">Home</a></li>
            <li><a href="{% url test-list page=1 %}">Tests</a></li>
            <li><a href="{% url test-search %}">Search Tests</a></li>
            {# <li><a href="{% url result-list page=1 %}">Results</a></li> #}
            <li><a href="{% url result-search %}">Search Results</a></li>
            <li class="last"><a href="{% url site-about %}">About</a></li>

            {% comment %}
            # User registration is not yet enabled.
            {% if user.is_authenticated %}
              <li><a href="/accounts/">Your account</a></li>
              <li><a href="/users/{{ user.username }}/">Your profile</a></li>
              <li><a href="{% url logout %}">Log out</a></li>
            {% else %}
              <li><a href="{% url login %}">Log in</a></li>
              <li><a href="/accounts/register/">Register</a></li>
            {% endif %}
            {% endcomment %}

        </ul>
    </div>
</div>
<!-- end header -->

<div id="content">
  {% block content %}{% endblock %}
</div>

<!-- start footer -->
<div id="footer">
    <p class="legal">
        &copy;2009 Browser Tests Project.
        &nbsp;&nbsp;&bull;&nbsp;&nbsp;
        <a href="http://code.google.com/p/browsertests/">Get the source</a>
        {# &nbsp;&nbsp;&bull;&nbsp;&nbsp; #}
        {# username: {{ user }} #}
    </p>
</div>
<!-- end footer -->

{% load analytics %}
{% analytics %}

</body>
</html>
